package cn.youyu.fm.service;

import cn.youyu.fm.dao.IRoleDao;
import cn.youyu.fm.domain.Role;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: mayuanbao
 * @date: 2018-12-24 21:56
 * @description:
 */
@Service(value = "roleService")
public class RoleServiceImpl implements IRoleService {
    @Resource(name = "roleDao")
    private IRoleDao dao;
    @Override
    public Role getRole(Integer roleId) {
        return dao.getRole(roleId);
    }
}
